package com.ross.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author RossZhang
 */
@Controller
public class HelloController {
    @RequestMapping(value = "/login.do")
    public String hello(){
        return "login";
    }

    @RequestMapping(value = "/index2.do")
    public String index2(){
        return "index2";
    }
    @RequestMapping(value = "/resisterA.do")
    public String register(){
        return "register";
    }

    @RequestMapping(value = "/unauthorizedUrl.do")
    public String unauthorizedUrl(){
        return "common/unauthorizedUrl";
    }
}
